import { redirect } from 'next/navigation';

interface UserPageProps {
  params: { userId: string };
}

export default async function UserPage({ params: { userId } }: UserPageProps) {
  // 默认重定向到用户的 dashboard
  redirect(`/${userId}/dashboard`);
} 